package com.qian.apiserver.entity;

import com.yaowk.service.common.BaseEntity;
import com.yaowk.service.common.GeneratorNote;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;

import javax.persistence.Entity;
import java.math.BigDecimal;
import java.util.Date;

@Getter
@Setter
@ToString
@DynamicInsert
@DynamicUpdate
@Entity
/**
 * 用户统计
 */
public class GmCount extends BaseEntity<Integer> {
    @GeneratorNote("时间")
    private Date time;
    @GeneratorNote("总投注量")
    private BigDecimal betting;
    @GeneratorNote("总获取金额")
    private BigDecimal winChip;
    @GeneratorNote("统计字典")
    private Byte code;
}
